package com.geyue.core.service;

import com.geyue.common.base.service.BaseService;
import com.geyue.core.model.Live;
import com.geyue.core.model.Student;

import java.util.List;

/**
 * Created by Lyon on 2017/4/27.
 */
public interface LiveService extends BaseService<Live> {

    public List<Live> queryAll();

    public int addTotalById(int id);

    int decreaseTotalById(int liveId);

    public Live getLive(int id);

    public int getTotal(int id);

    public List<Student> getStudent(int id ,int type);

    public List<Live> getTopList();

    public List<Live> searchLive(String keyword);
}
